Ext.define('AM.component.shape.Line', {
    extend:'AM.component.shape.BaseShape',


    width:'300px',
    height:'10px',

    draw:function () {
        var me = this;
        var canvas = me.el.dom;
        var context = canvas.getContext('2d');
        context.beginPath();
        context.lineCap = 'round'
        context.lineWidth = 300;
        context.strokeStyle = 'red'
        context.lineTo(0, 75);
        context.lineTo(0, 75);
        context.lineTo(300, 75);
        context.stroke();
    }
})